﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;

namespace VOL.Entity.DomainModels.WorkforceManagement
{
    /// <summary>
    /// 班组类型表
    /// </summary>
    [Table("TeamTypes")]
    [EntityAttribute(TableCnName = "班组类型")]
    public class TeamTypes
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [Column("Id")]
        [Display(Name = "ID")]
        [Required(AllowEmptyStrings = false)]
        public int Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        [Column("TypeName")]
        [Display(Name = "类型名称")]
        [StringLength(20)]
        public string TypeName { get; set; }
    }
}
